<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link th:src="@{resource/static/bootstrap/css/bootstrap.css}" rel="stylesheet"/>
    <link th:src="@{resource/static/bootstrap/css/bootstrap-theme.css}" rel="stylesheet"/>

    <title th:text="${title}"></title>
</head>
<body>

<a th:text="${blog}" th:href="${url}">Hello World </a>


<script th:inline="javascript">
    // js中获取model
    var title = [[${title}]];
    console.info(title);
</script>


<script th:src="@{resource/static/jquery-3.1.0.js}"></script>
<script th:src="@{resource/static/bootstrap/js/bootstrap.js}"></script>
</body>
</html>